home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / midi / hip222.lha / HippoPlayer / Install < prev    next >
Text File  |  1995-12-26  |  5KB  |  321 lines

  1. ; $VER: Install HippoPlayer
  2. ;
  3. ;       Installer script for HippoPlayer.
  4. ;
  5. ;(C) 31.X.1995 Tomasz Kepa
  6. ;
  7. ; Major modifications by K-P
  8. ;
  9.  
  10.  
  11. (complete 0)
  12.  
  13. (set DEST-DIR
  14.   (askdir
  15.     (prompt "Where do you want to install HippoPlayer?")
  16.     (help (cat @askdir-help)
  17.     )
  18.     (default "SYS:")
  19.   )
  20. )
  21.  
  22. (delete "s:hip-script")
  23.  
  24. (copyfiles
  25.   (source "HiP")
  26.   (dest DEST-DIR)
  27. )
  28.  
  29. (set NUMBER
  30.   (askchoice
  31.     (prompt "Select the icon for HippoPlayer")
  32.     (help
  33.       (cat
  34.         "You can choose one icon for HippoPlayer. There are"
  35.         "\nsome icons for normal WB with 4 colors, couple"
  36.         "\nof colorful icons for MagicWB users and one for"
  37.         "\nNewIcons.\n\n"
  38.         @askchoice-help
  39.       )
  40.     )
  41.     (choices
  42.       "Face portrait (4 colors; all kickstarts)"
  43.       "Smaller face portrait (4 colors; all kickstarts)"
  44.       "Hippo-text (MagicWB)"
  45.       "Colorful face portrait (MagicWB)"
  46.       "Speakers (MagicWB)"
  47.       "Another face portrait (MagicWB)"
  48.       "Whole Hippo (NewIcons)"
  49.     )
  50.     (default 0)
  51.   )
  52. )
  53.  
  54. (complete 10)
  55.  
  56. (if (= NUMBER 0)
  57.   (copyfiles
  58.     (source "HiP.info")
  59.     (dest DEST-DIR)
  60.   )
  61. )
  62.  
  63. (if (= NUMBER 1)
  64.   (copyfiles
  65.     (source "Icons/HiP2.info")
  66.     (dest DEST-DIR)
  67.     (newname "HiP.info")
  68.   )
  69. )
  70.  
  71. (if (= NUMBER 2)
  72.   (copyfiles
  73.     (source "Icons/HiP_MWB.info")
  74.     (dest DEST-DIR)
  75.     (newname "HiP.info")
  76.   )
  77. )
  78.  
  79. (if (= NUMBER 3)
  80.   (copyfiles
  81.     (source "Icons/HiP_MWB2.info")
  82.     (dest DEST-DIR)
  83.     (newname "HiP.info")
  84.   )
  85. )
  86.  
  87. (if (= NUMBER 4)
  88.   (copyfiles
  89.     (source "Icons/HiP_MWB3.info")
  90.     (dest DEST-DIR)
  91.     (newname "HiP.info")
  92.   )
  93. )
  94.  
  95. (if (= NUMBER 5)
  96.   (copyfiles
  97.     (source "Icons/HiP_MWB4.info")
  98.     (dest DEST-DIR)
  99.     (newname "HiP.info")
  100.   )
  101. )
  102.  
  103. (if (= NUMBER 6)
  104.   (copyfiles
  105.     (source "Icons/HiP_NI.info")
  106.     (dest DEST-DIR)
  107.     (newname "HiP.info")
  108.   )
  109. )
  110.  
  111. (set DOCS
  112.   (askbool
  113.     (prompt "\n\n\n\n\nDo you want to install the documentation?")
  114.     (help (cat
  115.     "You really should."
  116.         )
  117.     )
  118.     (default 1)
  119.   )
  120. )
  121.  
  122. (complete 20)
  123.  
  124. (if (= DOCS 1)
  125.   (set DOC
  126.     (askoptions
  127.       (prompt "Which type of documentation do you want?")
  128.       (help (cat @askoptions-help))
  129.       (choices
  130.         "ASCII"
  131.         "AmigaGuide"
  132.       )
  133.       (default 2)
  134.     )
  135.   )
  136. )
  137.  
  138.  
  139. (if (= DOCS 1)
  140.  (set DEST-DIR2
  141.    (askdir
  142.      (prompt "Select destination directory for the documentation")
  143.      (help (cat @askdir-help)
  144.      )
  145.      (default DEST-DIR)
  146.    )
  147.  )
  148.  
  149. (if (= DOC 1)
  150.   (copyfiles
  151.     (source "")
  152.     (dest DEST-DIR2)
  153.     (choices
  154.       "HiP.doc"
  155.       "HiP.doc.info"
  156.     )
  157.   )
  158. )
  159.  
  160. (complete 30)
  161.  
  162. (if (= DOC 2)
  163.   (copyfiles
  164.     (source "")
  165.     (dest DEST-DIR2)
  166.     (choices
  167.       "HiP.guide"
  168.       "HiP.guide.info"
  169.     )
  170.   )
  171. )
  172.  
  173. (if (= DOC 3)
  174.   (copyfiles
  175.     (source "")
  176.     (dest DEST-DIR2)
  177.     (choices
  178.       "HiP.doc"
  179.       "HiP.doc.info"
  180.       "HiP.guide"
  181.       "HiP.guide.info"
  182.     )
  183.   )
  184. )
  185.  
  186.  
  187. (complete 40)
  188.  
  189. (copyfiles
  190.   (source "")
  191.   (dest
  192.     (askdir
  193.       (prompt
  194.         (cat
  195.           "Select destination directory for HippoPlayer.group"
  196.         )
  197.       )
  198.       (help
  199.         (cat
  200.       "This file contains some playroutines for different music"
  201.       " formats. It is adviced to install it."
  202.           " The place of HippoPlayer.group can also be defined"
  203.           " later in HippoPlayer.\n\n"
  204.           @askdir-help
  205.         )
  206.       )
  207.       (default "S:")
  208.     )
  209.   )
  210.   (choices
  211.     "HippoPlayer.group"
  212.   )
  213. )
  214.  
  215. (complete 50)
  216.  
  217.  
  218. (if (exists "S:HippoPlayer.PS3M")
  219.   (if (=
  220.     (askbool
  221.       (prompt (cat
  222.             "\n\n\n\n\nDo you want to overwrite S:HippoPlayer.PS3M?"
  223.           )
  224.       )
  225.       (help
  226.         (cat "Don't overwrite if you want to keep your PS3M settings." 
  227.          "\n Do overwrite if you're updating from v2.12 or older.")
  228.       )
  229.     ) 1)
  230.     (copyfiles
  231.       (source "HippoPlayer.PS3M")
  232.       (dest "S:")
  233.     )
  234.   )
  235. )
  236.  
  237. (complete 60)
  238.  
  239. (copylib
  240.   (source "Libs/ReqTools.library")
  241.   (dest "Libs:")
  242.   (confirm)
  243.   (prompt "\n\n\nDo you want to install the reqtools.library?")
  244.   (help
  245.     (cat
  246.       "Reqtools.library is needed for requesters in HippoPlayer."
  247.       " Library version for kickstart 1.2/1.3 is included.\n\n"
  248.       @copylib-help
  249.     )
  250.   )
  251. )
  252.  
  253. (complete 70)
  254.  
  255. (if (=
  256.   (askbool
  257.     (prompt "\n\n\n\n\nDo you want to install the ARexx scripts?")
  258.     (help
  259.       (cat
  260.         "There are some simple scripts included. "
  261.      "Not really useful, but might be of some help as examples.\n\n"
  262.       )
  263.     )
  264.   ) 1)
  265.   (copyfiles
  266.     (source "ARexx")
  267.     (dest
  268.       (askdir
  269.         (prompt "Select destination directory for ARexx scripts")
  270.         (help
  271.           (cat
  272.             @askdir-help
  273.           )
  274.         )
  275.         (default "REXX:")
  276.       )
  277.     )
  278.     (all)
  279.   )
  280. )
  281.  
  282. (complete 80)
  283.  
  284. (if (=
  285.   (askbool
  286.     (prompt "\n\n\n\n\nDo you want to copy HippoPlayer brush for ToolManager somewhere?")
  287.     (help
  288.       (cat
  289.       )
  290.     )
  291.   ) 1)
  292.   (copyfiles
  293.     (source "Brushes")
  294.     (dest
  295.       (askdir
  296.         (prompt "Select destination directory for the brush")
  297.         (help
  298.           (cat
  299.             @askdir-help
  300.           )
  301.         )
  302.         (default "SYS:")
  303.       )
  304.     )
  305.     (all)
  306.   )
  307. )
  308.  
  309.  
  310. (complete 100)
  311.  
  312. (message
  313.   (cat
  314.     "\n\n\n\n"
  315.     "You should also look what the Support/ directory contains. "
  316.     "There are some stuff that might be useful or fun.\n\n"
  317.     "Finally, READ THE DOC!"
  318.   )
  319. )
  320.